package com.xxxy;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class ProviderController {
    @GetMapping("/provider")
    public String provider
            (@RequestParam(value = "username", required = false ) String userName) {
        return "你好呀，"+ userName+"，迪迦" ;
    }
}
